﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json;

namespace Blog.Common.Helper
{
    public class JsonHelper
    {
        public static string ToJson(object? obj)
        {
            return JsonConvert.SerializeObject(obj);
        }
    }
}
